//package com.formelo.mqtt;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author: lxw
// * @Date: 2018/10/19 19:36
// * @email: 1229703575@qq.com
// * @Description: 测试文件
// */
//@RestController
//@RequestMapping
////@Api("测试")
//public class TestController {
//    @Autowired
//    private MqttPushClient mqttPushClient;
//
////    @ApiOperation(value = "发布主题", notes = "测试发布主题")
//    @GetMapping(value = "/publishTopic")
//    public RUtils publishTopic() {
//        mqttPushClient.publish(0,false,"xcTopic","测试一下发布消息");
//        return RUtils.ok("发布主题成功");
//    }
//
//
//    @GetMapping(value = "/test")
//    public String test() {
//        return "test success";
//    }
//}
